package com.atguigu.lease.web.admin.service.impl;

import com.atguigu.lease.model.entity.ViewAppointment;
import com.atguigu.lease.web.admin.mapper.ViewAppointmentMapper;
import com.atguigu.lease.web.admin.service.ViewAppointmentService;
import com.atguigu.lease.web.admin.vo.appointment.AppointmentQueryVo;
import com.atguigu.lease.web.admin.vo.appointment.AppointmentVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * ClassName: ViewAppointmentServiceImpl
 * Package: com.atguigu.lease.web.admin.service.impl
 * Description:
 *
 * @Author ygf
 * @Create 2024/9/26 15:43
 * @Version 1.0
 */
@Service
public class ViewAppointmentServiceImpl extends ServiceImpl<ViewAppointmentMapper,ViewAppointment> implements ViewAppointmentService {

    @Autowired
    ViewAppointmentMapper viewAppointmentMapper;

    @Override
    public IPage<AppointmentVo> getListPage(Page<AppointmentVo> page, AppointmentQueryVo queryVo) {
        return viewAppointmentMapper.getListPage(page,queryVo);
    }
}
